#include<iostream>
int main() {
	int a, b, c;
	std::cin >> a >> b;
	if (a > b) {
		c = a;
		a = b;
		b = c;
	}
	for (size_t i = ++a; i < b; i++)
	{
		std::cout << i << std::endl;
	}
	system("pause");
	return 0;
 }